ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 35)

What is the purpose of the 'COUNT' variable in many algorithms (like in the counting example)?
To calculate the sum of a set of numbers.
To keep track of the number of items.
To store the largest item.
To sort the data.

Forklaring

The 'COUNT' variable is used to count the number of occurrences or items.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc